package com.zhaoc.service;

import com.zhaoc.domain.take_delivery.Order;

import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
import javax.ws.rs.Path;

/**
 * <p>title:com.zhaoc.service</p>
 * date:2018/8/14 0014
 * time:21:11
 * author:赵成
 * user:13566
 */
public interface IOrderService {

    @Path("/order")
    @POST
    @Consumes({"application/xml","application/json"})
    public void saveOrder(Order order);

    public Order findByOrderNum(String orderNum);
}
